package com.demo.server;

import com.common.Dto.RegisterDTO;
import com.common.Dto.loginDto;
import com.common.Dto.rechargeDTO;
import com.common.VO.InformationVO;
import com.common.VO.LoginVO;
import com.common.VO.createpaymentVO;
import com.common.VO.rechargeVO;
import com.common.result.Result;
import org.fisco.bcos.sdk.transaction.model.exception.ContractException;

public interface UserServer {
    public LoginVO login(loginDto loginDto);
    public Result register(RegisterDTO registerDto) throws ContractException;
    public InformationVO getInformation();
    public Result<createpaymentVO> createpayment(String paypassword);
    public Result<rechargeVO>  recharge(rechargeDTO recharge) throws ContractException;
}
